<?php
	require_once("pub.php");
	require_once(_ROOT."/db.php");
	require_once(_ROOT."/am/title.php");
?>
<!--此处需要判断操作的动作是针对正文还是标题，通过op选项发给process -->
<form id="addContent" action="process.php?ID=1&op=2" method="post">
<table width="768" align="center">
	<tr>
	<?php require(_ROOT."/am/m_head.php"); ?>
	<td width="428"></td>
	</tr>
</table>
<table width="768" align="center">
	<tr>
		<td width="60"><b>内容:</b></td>
		<td width="708" align="left">
			<textarea name="ques" rows="8" cols="70" style="overflow=hidden"></textarea>
		</td>
	</tr>
	<tr>
		<td><b>A:</b></td>
		<td align="left">
			<textarea name="opta" rows="2" cols="70" style="overflow=hidden"></textarea>
		</td>
	</tr>
	<tr>
		<td><b>B:</b></td>
		<td align="left">
			<textarea name="optb" rows="2" cols="70" style="overflow=hidden"></textarea>
		</td>
	</tr>
	<tr>
		<td><b>C:</b></td>
		<td align="left">
			<textarea name="optc" rows="2" cols="70" style="overflow=hidden"></textarea>
		</td>
	</tr>
	<tr>
		<td><b>D:</b></td>
		<td align="left">
			<textarea name="optd" rows="2" cols="70" style="overflow=hidden"></textarea>
		</td>
	</tr>
	<tr>
		<td><b>Key:</b></td>
		<td align="left">
			<textarea name="key" rows="1" cols="70" style="overflow=hidden"></textarea>
		</td>
	</tr>
	<tr>
		<td><b>KeyEx:</b></td>
		<td align="left">
			<textarea name="keyEx" rows="2" cols="70" style="overflow=hidden"></textarea>
		</td>
	</tr>
	<tr>
		<td><b>分值:</b></td>
		<td>
			<select name="year">
					<?php
					$sql = "select * from t_point";
					$data = mysql_query($sql, $conn);
					while ($arr = mysql_fetch_array($data))
					{
					?>
				<option value="<?php echo $arr['t_point'];?>"><?php echo $arr['t_point'];?>分</option>	
					<?php
					}
					?>
			</select>
		</td>
	</tr>
</table>
<table width="768" align="center" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td>
		<input name="submit" type="submit" value="提交" />
		<input name="reset" type="reset" value="重置" />
		</td>
	</tr>
</table>
</form>
<?php
	require_once(_ROOT."/am/bottom.php");
?>